import Mock from 'mockjs';
import slide from './slide';
import floor from './floor';
import address from './address';

// Mock.mock("要拦截的url地址","请求方式","响应的数据");

Mock.mock('http://www.221024.com/slide', 'get', {
  code: 200,
  message: '成功',
  ok: true,
  data: slide,
});

Mock.mock('http://www.221024.com/floor', 'get', {
  code: 200,
  message: '成功',
  ok: true,
  data: floor,
});
Mock.mock('http://www.221024.com/address', 'get', {
  code: 200,
  message: '成功',
  ok: true,
  data: address,
});
